<template>
    <div class="main-container" v-bind:style="{left:left+5}">
        <div class="scroll-content">
            <slot></slot>
        </div>
        <!-- <Footer></Footer> -->
    </div>
</template>

<script>
import Footer from "./Footer.vue"
export default {
    components: {
        Footer
    },
    props: {
        left: String,
        msg: String
    },
}
</script>

<style scoped>
.main-container {
    position: absolute;
    left: 205px;
    top: 0;
    bottom: 0;
    right: 0;
    overflow-y: auto;
    padding: 10px 10px 5px 5px;
}
.scroll-content {
    min-height: calc(100% - 10px);
}
</style>